      <section id="content">
        <div class="content-left">
          <h2>Fotografie</h2>
          <ul class="menu">
            <li><a href="<?php echo url::base(); ?>files/upload" title="přidat nové fotografie">Přidat fotografie</a></li>
            <li class="active"><a href="<?php echo url::base(); ?>photo" title="Vámi přidané fotografie">Moje fotografie</a></li>
          </ul>
          <div class="content-left-bottom menu-left-bottom"></div>
        </div>
        <div class="content-right">
          <header>
            <h2>Moje fotografie</h2>
            <form id="form-sort" action="<?php echo url::base() ?>photo" method="get" class="styled top-right">
              <fieldset>
                <ul>
                  <li>
                    <select name="sort" id="select-sort" class="top-right">
                      <option value="new"<?php if (isset($_GET['sort']) && $_GET['sort'] === 'new') { echo ' selected'; } ?>>Nejnovější</option>
                      <option value="old"<?php if (isset($_GET['sort']) && $_GET['sort'] === 'old') { echo ' selected'; } ?>>Nejstarší</option>
                      <option value="prf"<?php if (isset($_GET['sort']) && $_GET['sort'] === 'prf') { echo ' selected'; } ?>>Jen profil</option>
                    </select>
                  </li>
                </ul>
              </fieldset>
            </form>
          </header>
          <section>            
            <ul class="thumbs two">
              <?php foreach ($photo_user as $item): ?>
              <?php $photo_user_info = ORM::factory('user')->where('username', '=', $item->username)->find(); ?>
                <li>
                  <a href="<?php echo url::base() ?>photo/view/<?php echo $item->id ?>" title="">
                    <div class="thumb-edit"><strong><?php echo ucfirst($item->title); ?></strong><span class="thumb-info-bottom"><?php echo Helpers_Photovoice::datum($item->date); ?></span></div>
                    <img src="<?php echo url::base() ?>files/users/<?php echo $item->username; ?>/<?php echo $item->thumb; ?>" alt="<?php echo $item->username; ?> - <?php echo $item->title; ?>" />
                  </a>
                </li>
              <?php endforeach ?>
              </ul>
            <?php echo $pagination->render('pagination/simple'); ?>
          </section>
          <div class="content-right-bottom"></div>
        </div>                          	   	
      </section>